package com.cloudwise.util;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2021/9/24 11:35
 * @description：通用的返回对象
 * @modified By：
 * @version: 1.0
 */
public class MyReturn<T> {
    private  int code;
    private String msg;
    private int count;
    private  T data;

    public MyReturn() {
    }

    public MyReturn(int code, String msg, int count, T data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
